package org.lboot.flow.module.event;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.util.Map;

@Data
@ApiModel(value = "流程事件")
public class FlowEvent {
    @ApiModelProperty(value = "事件ID")
    String eventId;

    // * 是全部 内部 外部
    @ApiModelProperty(value = "事件范围")
    String eventRange;

    @ApiModelProperty(value = "是否异步")
    Boolean isAsync;

    @ApiModelProperty(value = "事件名称")
    String eventName;

    @ApiModelProperty(value = "事件优先级")
    Integer priority;

    @ApiModelProperty(value = "事件参数")
    Map<String, Object> eventParams;
}
